<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="layout" content="wechat"/>
    <title>免费评房</title>
</head>

<body>
<header class="create-header">
    <ul class="creat-flowList flex-box">
        <li data-id="01" class="flex1 active">
            <span></span>

            <h3>房产详细地址</h3>
        </li>
        <li data-id="03" class="flex1">
            <span></span>

            <h3>极速估值</h3>
        </li>
    </ul>
</header>

<form resource="${this.house}" action="wxCreate2Step4Save" id="wxCreate2Form3" method="post" class="wxCreate2Form3">
    <input type="hidden" name="openId" value="${this.openId}"/>
    <input type="hidden" id="status" name="status" value=""/>
    <input type="hidden" id="externalId" name="externalId" value=""/>
    <input type="hidden" id="unitPrice" name="unitPrice" value=""/>

    <input type="hidden" id="city" name="city" value=""/>
    <input type="hidden" id="district" name="district" value=""/>

    <div class="bgcWhite wxCreate weui-cells weui-cells_form">
        <div class="weui-cell weui-cell_select weui-cell_select-after">
            <div class="weui-cell__hd"><label class="weui-label">省市县</label></div>

            <div class="weui-cell__bd">
                <input class="weui-input" id="province" type="text" placeholder="请选择">
            </div>
        </div>


        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">详细地址</label></div>

            <div class="weui-cell__bd labelgroup">
                <a class="item" dataRef='project'><span id="dataProject"></span><i class='delete'>删除<em
                        class='to-bottom'></em></i></a>
                <a class="item" dataRef='building'><span id="dataBuilding"></span><i class='delete'>删除<em
                        class='to-bottom'></em></i></a>
                <a class="item" dataRef='unit'><span id="dataUnit"></span><i class='delete'>删除<em
                        class='to-bottom'></em></i></a>
                <a class="item" dataRef='floor'><span id="dataFloor"></span><i class='delete'>删除<em
                        class='to-bottom'></em></i></a>
                <a class="item" dataRef='house'><span id="dataHouse"></span><i class='delete'>删除<em
                        class='to-bottom'></em></i></a>
            </div>

        </div>

        <div class="weui-cell">
            <div class="weui-cell__bd">

                <input type="text" id="project" name="project" placeholder="请输入小区名称或房产地址">

            </div>
        </div>

        <div class="weui-cell projectNameListDiv">
            <h4 class="alertInfo hide"></h4>

            <div class="projectNameList select-list" style="display: none">
            </div>

            <div class="buildingList select-list" style="display: none">

            </div>

            <div class="unitList select-list" style="display: none">

            </div>

            <div class="floorList select-list" style="display: none">

            </div>

            <div class="houseList select-list" style="display: none">

            </div>

        </div>

        <div class="weui-cell">

            <div class="weui-cell__hd"><label class="weui-label">面积</label></div>

            <div class="weui-cell__bd weui-cell_primary">
                <g:field class="weui-input" type="number" name="area" id="area" value="${this.house?.area}"
                         placeholder="如：110"/>
            </div>

            <div class="weui-cell__hd"><label class="weui-label" style="margin-right: 0">（m<sup>2</sup>）</label></div>
        </div>

        <input type="hidden" id="communityId" name="communityId" value="${params.communityId}"/>
        <input type="hidden" class="weui-textarea" id="projectName" name="projectName"
               placeholder="输入小区名称或房产地址"
               value="${this.house?.projectName}">

        <input type="hidden" id="buildingId" name="buildingId" value=""/>
        <g:textField class="weui-input hide" type="number" id="building" name="building"
                     value="${this.house?.building}" placeholder="输入或选择楼号"/>

        <input type="hidden" id="unitId" name="unitId" value=""/>
        <g:textField class="hide weui-input" type="number" id="unit" name="unit" value="${this.house?.unit}"
                     placeholder="输入或选择单元号"/>

        <input type="hidden" id="floorId" name="floorId" value=""/>
        <g:textField class="hide weui-input" type="number" id="floor" name="floor" value="${this.house?.floor}"
                     placeholder="输入或选择单元号"/>

        <g:textField class="hide weui-input" type="text" id="roomNumber" name="roomNumber"
                     value="${this.house?.roomNumber}" placeholder="输入或选择房号"/>

    </div>

    <div class="bigBtn">
        <button type="button" class="linkBtn weui-btn weui-btn_plain_default" id="wxcreateStep3Btn">极速估值</button>
    </div>
</form>



%{--提示信息和验证--}%
<div class="message-box">
    <div class="helpMsg hide"></div>
    <g:if test="${flash.message}">
        <div class="message" role="status">
            ${flash.message}
        </div>
    </g:if>
</div>
<asset:javascript src="wechat/Step3.js"/>
</body>
</html>
